Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decrease bundle size by downgrading semver #174

Merged
merged 2 commits into from
May 19, 2021
Merged

Conversation

mmv08
Copy link
Member

@mmv08 mmv08 commented May 19, 2021

We got a report that 58% of our bundle is semver: #154

According to bundlephobia, semver's bundle size increased 7times at version 7.1.2 and continued to grow since.

We're not using it heavily so I downgraded it to version 7.1.0 where it weighs 2kb: https://bundlephobia.com/[email protected]

I used 7.1.0 because @types/semver are version 7.1.0 too, not sure if 7.1.1 is compatible with types 7.1.0

@mmv08 mmv08 requested review from rmeissner and germartinez May 19, 2021 11:04
@github-actions
Copy link
Contributor

CLA Assistant Lite All Contributors have signed the CLA.

@github-actions
Copy link
Contributor

ESLint Summary View Full Report

Annotations are provided inline on the Files Changed tab. You can also see all annotations that were generated on the annotations page.

Type Occurrences Fixable
Errors 0 0
Warnings 0 0
Ignored 0 N/A
  • Result: ✅ success
  • Annotations: 0 total

Report generated by eslint-plus-action

@mmv08 mmv08 merged commit 3410714 into development May 19, 2021
@mmv08 mmv08 deleted the semver-bundle-size branch May 19, 2021 13:40
@github-actions github-actions bot locked and limited conversation to collaborators May 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants